package com.lm.dubbo.example;

import com.lm.dubbo.inter.GreetingService;
import org.apache.dubbo.common.extension.ExtensionLoader;

public class AdaptiveSPIExample {
    public static void main(String[] args) {
        GreetingService adaptiveService = ExtensionLoader.getExtensionLoader(GreetingService.class).getAdaptiveExtension();
        adaptiveService.sayHello("Dynamic");
    }
}
